package com.easydemo.easy.mapper;

import com.easydemo.easy.domain.AppUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.cursor.Cursor;

import java.util.List;

/**
 * @author :ZhengHao
 * @version :1.0
 * @since :2024-12-27  20:08
 */
@Mapper
public interface AppUserMapper {
    List<AppUser> selectPageOfAppUsers(@Param("offset") int offset, @Param("pageSize") int pageSize);
    // 获取总记录数
    Long getTotalRecordCount();

    List<AppUser> getAllAppUer();

    Cursor<AppUser> selectAllByCursor();

}
